"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const transformer_1 = require("./transformer");
const jsontots_1 = require("./jsontots");
let converter = new jsontots_1.JSONToDTSConverter();
const fs = require('fs');
async function mainn() {
    await (0, transformer_1.main)();
    // try {
    // const data = fs.readFileSync('./dist/transAPI/LUAapi_result.json', 'utf8');
    // let jdata=JSON.parse(data)
    // } catch (err) {
    // console.error(err);
    // }
    converter.convertToDTS('./LUAapi_result.json', './api_result.d.ts');
}
mainn();
